package com.example.mybatis.enums;

public enum ConstantEnums {
    LOGIN_TIMEOUT(1001,"登录超时"),
    LOGIN_ACCOUNT_PASSWORD_ERROR(1002,"用户名或密码错误"),
    LOGIN_OFFLINE(1003,"用户未登录"),
    LOGIN_SUCCESS(200,"登录成功"),
    LOGIN_OUT_SUCCESS(200,"退出登录成功"),
    LOGIN_OUT_ERROR(1004,"退出登录失败")
    ;

    private String message;

    private int status;

    ConstantEnums(int status,String message){
        this.status = status;
        this.message = message;
    }

    public int getStatus(){
        return status;
    }

    public String getMessage(){
        return message;
    }

}
